#include "lab3.h"

// see lab3.h
int main(int argc, char* argv[]) {
    // Initialize the pseudo-random generator
    srand(time(NULL));
    
    /* Tests to ensure shape & polygon are abstract.   
      These will fail if they are uncommented.
    Shape* s = new Shape();
    Polygon* p = new Polygon();
    */
    
    test1Arg<Shape,Circle>();
    test1Arg<Shape,Sphere>();
    test1Arg<Shape,Square>();
    test2Arg<Shape,Rectangle>();
    test1Arg<Shape,Cube>();
}

// see lab3.h
int getRandInt() {
    return rand() % 10 + 1;
}